<?xml version="1.0" encoding="UTF-8"?>
<<%= params[:name]%> release='<%= @release %>'>
  <%- @terminals.each do |code, versions| %>
    <<%= code %>>
      <%- versions.each do |version| %>
        <version code='<%= version.version %>'>
          <file>http://<%= Rails.application.config.default_url_options[:host] %><%= version.file_url %></file>
          <message><%= version.note %>'</message>
        </version>
      <% end %>
    </<%= code %>>
  <% end %>
</<%= params[:name] %>>